Received: from scruz.net (nic.scruz.net [165.227.1.2]) by emin06.mail.aol.com (8.6.12/8.6.12) with ESMTP id MAA10744 for <starlabs@aol.com>; Thu, 30 Nov 1995 12:55:04 -0500
Received: from 204.147.232.52 by scruz.net (8.6.9/1.34)
id JAA13505; Thu, 30 Nov 1995 09:23:44 -0800
Message-Id: <199511301723.JAA13505@scruz.net>
Date: Thu, 30 Nov 1995 09:23:27 -0900
From: jordanz@altura.com (Jordan Zimmerman)
To: starlabs@aol.com (StarLabs)
Subject: Re: Writing MDEF->scratching head!
Newsgroups: comp.sys.mac.programmer.help
References: <49jtka$df8@newsbf02.news.aol.com>
Organization: Altura Software, Inc.
---------
Subject: Re: Writing MDEF->scratching head!
From: starlabs@aol.com (StarLabs)
Date: 1 Dec 1995 04:19:32 -0500
Message-ID: <49mhb4$gjr@newsbf02.news.aol.com>
>>
This is because you are not setting the mbItemRect in the mbSaveLoc. You
don't know what these are, you say? Well maybe that's because they've
never been documented ... anywhere!
>>
Thanks - I had a sneaking suspicion something like this was the reason,
but I couldn't believe Apple would withold info from programmers that
would prevent them from writing WORKING code! I should have known
better...
Anyway, after careful reading of some sample MDEFs I had done as you had
suggested and voila! No more submenu flashing when the mouse was over a
menu item which pointed to a submenu. However, I'm still having problems
with the submenu still being placed erratically:
The submenu itself seems to alternate between being located high or low in
relation to the menu item which points to it, probably also being partly
determined by the mouse's location, NOT the menu item's rect. Aargh!
Unlike the system MDEF, where the submenu is placed flushed top with the
menu item, regardless of the mouse's location.
I tried fiddling with mbUglyScroll. I also implemented fiddling with the
MenuDisable low-mem global. But to no avail. Any suggestions? Do I have to